package com.cloudkinto.service.company.vo;

import lombok.Data;

import java.util.List;

@Data
public class InventoryChangeListResponse {
    private boolean success = false;

    private Integer errorCode;

    private String errorMsg;

    Result result;


    @Data
    public static class Result {
        public Integer totalCount;

        public List<InventoryChange> inventoryChangeList;

        public Result(Integer totalCount, List<InventoryChange> inventoryChangeList) {
            this.totalCount = totalCount;
            this.inventoryChangeList = inventoryChangeList;
        }


        public Result() {
        }
    }

    public InventoryChangeListResponse() {
    }

    public InventoryChangeListResponse(Integer errorCode, String errorMsg) {
        this.errorCode = errorCode;
        this.errorMsg = errorMsg;
    }
}
